﻿using BankingApp.Data.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BankingApp.Data
{
    public class BankingDbContext : IdentityDbContext<User>
    {
        public BankingDbContext()
            : base("DefaultConnection", throwIfV1Schema: false)
        {
        }

        public DbSet<UserAccount> UserAccount { get; set; }
        public static BankingDbContext Create()
        {
            return new BankingDbContext();
        }
    }
}
